package com.zyz.B_流程控制.分支结构练习;

import java.util.Scanner;

/**
 * @author: vick
 * @Date: 2025/3/11
 * @Description:
 * @version: 1.0
 */
public class EvenOdd {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入一个整数");
        int number = scanner.nextInt();

        if (number % 2 == 0) {
            System.out.println("偶数");
        }else {
            System.out.println("奇数");
        }
        scanner.close();
    }
}
